package com.netsmart.dao;

import com.netsmart.bean.AdminSentence;
import java.math.BigDecimal;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface AdminSentenceMapper {
    int deleteByPrimaryKey(long adminSentenceId);

    int insert(AdminSentence record);

    int insertSelective(AdminSentence record);

    AdminSentence selectByPrimaryKey(long adminSentenceId);

    int updateByPrimaryKeySelective(AdminSentence record);

    int updateByPrimaryKey(AdminSentence record);
    
    List<AdminSentence> selectAllByNameOrType(@Param("sentenceType") String type,@Param("userName") String adminName);
    
}